/*************************************************************************
    > File Name    : test.cc
    > Author       : LiuLei
    > Mail         : 2261459486@qq.com 
    > Created Time : 2022年11月29日 星期二 12时16分52秒
 ************************************************************************/

#include "../../include/DictBuilder/Configuration.h"
#include "../../include/DictBuilder/DictProducer.h"
#include "../../include/DictBuilder/CppJieba.h"
#include <iostream>
using std::cout;
using std::endl;

void test()
{
    Configuration *conf = Configuration::getInstance();
    conf->showConfig();

    SplitTool *splitToolCn = new CppJieba();
    DictProducer dictCn(*conf, splitToolCn, 1);
    
    SplitTool *splitToolEn = new CppJieba();
    DictProducer dictEn(*conf, splitToolEn, 0);
}

int main(int argc, char *argv[])
{
    test();
    return 0;
}
